package com.demo.aop;

import cn.qu.v1.platform.aop.Invoker;
import cn.qu.v1.platform.inject.annotation.Around;

/**
 * Created by zh on 17/1/17.
 */
public class AopIntercept {

    @Around(value = "annotation:com.demo.aop.AopTest",order = 1)
    public Object aaa(Invoker invoker, Object target, Object[] args) {

        System.out.println("--before--");
        Object obj = invoker.invoke(target, args);
        System.out.println("--after--");
        return obj;

    }
}
